package com.kaishengit.util;

import java.text.SimpleDateFormat;
import java.util.Date;

public class GetTime {
	public static String getTime(){
		SimpleDateFormat sdf = new SimpleDateFormat("mmss");
		return sdf.format(new Date());
	}
	public static String getYMDHM(){
		SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm");
		return sdf.format(new Date());
	}

}
